$(document).ready(function(){
	$('#recipients-list').click(function(){

        Liferay.Service.model.PrivateMessage.getMessage({},
          function(message) {
                var exception = message.exception;
                if (!exception) {
                    var json = message;
                    alert(json);
                } else {
                    var txt="There was an error on this page.\n\n";
                    txt+="Error description: " + message + "\n\n";
                    txt+="Click OK to continue.\n\n";
                    alert(txt);
                }
         });        	
	
	});
});